<%@ include file="/WEB-INF/jsp/include.jsp" %>
<c:set var="curRegions" value="${regions}" scope="page"/>
<c:forEach var="region" items="${curRegions}">
    <li class="closed">
        <span class="folder <c:if test="${region.selectable}">select_reg</c:if>"><span class="hidden_id"><c:out value="${region.id}"/></span><span class="reg_name"><c:out value="${region.name}"/></span></span>
        <c:if test="${not empty region.childs}">
            <ul>
                <c:set var="regions" value="${region.childs}" scope="request"/>
                <c:import url="regionsBlock.jsp"/>
            </ul>
        </c:if>
    </li>
</c:forEach>